package com.distribution.system.domain.bo;

import com.distribution.common.annotation.Excel;
import com.distribution.common.annotation.Excel.ColumnType;
import com.distribution.common.annotation.Excel.Type;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
public class AgentListExportBo implements Serializable
{
    @Excel(name = "用户序号", cellType = ColumnType.NUMERIC, prompt = "用户编号")
    private Long userId;
    @Excel(name = "登录账号")
    private String userName;
    @Excel(name = "代理名称")
    private String nickName;
    @Excel(name = "手机号码")
    private String phoneNumber;
    @Excel(name = "代理等级")
    private String roleName;
    @Excel(name = "上级名称")
    private String upNickName;
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;
    @Excel(name = "删除状态", readConverterExp = "0=正常,2=删除")
    private String delFlag;
    @Excel(name = "最后登录IP", type = Type.EXPORT)
    private String loginIp;
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
    private Date loginDate;
}
